export const LIST='LIST';
export const ADD="ADD";
export const DEL="DEL";
export const add =(list,id)=>{
    return{
        type:ADD,
        id,
        list
        
    }
}

export const del=list=>{
    return {
        type:DEL,
        list
    }
}